import { defineStore } from "pinia";
/**
 * 用户信息
 * @methods setUserInfos 设置用户信息
 */
export const useUserInfo = defineStore("userInfo", {
  state: () => ({}),
  actions: {
    // async setUserName(userName: string) {
    //     // 存储用户名到浏览器缓存
    //     this.userName = userName;
    //     uni.setStorageSync(LOCAL_STORAGE_NAME.USER_NAME, userName);
    // }
  }
});
